<template>
  <div class="dashboard-container">
    <div class="dashboard-text"><el-tag class="name">你好啊: <i class="el-icon-user-solid"></i>{{ name }}</el-tag></div>
    <div>
      <iframe class="iframe" src="http://pineker.gitee.io" frameborder="0" style="transform-origin: 0 0;" width="100%" height="920px" />
    </div>
  </div>
</template>

<script>
  import { mapGetters } from 'vuex'

  export default {
    name: 'Dashboard',
    computed: {
      ...mapGetters([
        'name'
      ])
    }
  }
  </script>

  <style lang="scss" scoped>
  .dashboard {
    &-container {
      margin: 30px;
    }
    &-text {
      font-size: 30px;
      line-height: 46px;
    }

  }
  .name {
    font-size: 30px
  }

</style>
